package cn.fbs.dao.dm;

import cn.fbs.model.TAtlasInfo;
import cn.fbs.model.TAtlasinfoTree;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DMAtlasInfoMapper {


    List<TAtlasinfoTree> selectAll();

    int saveType(TAtlasInfo info);

    int updateType(TAtlasInfo info);

    int deleteType(String id);

    List<TAtlasInfo> getCurrentPhotoAlbum(@Param("Ids") String Ids, @Param("dataType") Integer dataType, @Param("name") String name);

    int selectCountByName(@Param("atlasName") String atlasName, @Param("pid") Integer pid);
}
